Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: tests/_regtest_outputs/test_page_outputs.test_static[master].out

Issue 29755806: Noissue - convert test_page_outputs to pytest-regtest (Closed)
Patch Set: Combine page outputs Created April 23, 2018, 8:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/_regtest_outputs/test_page_outputs.test_static[None].out ('k') | tests/conftest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ### en/includer ###
2 <h1>Foobar</h1>
3
4
5 <p>This is an included example</p>
6
7 Variable from included piece: bar
8 ### en/translate-html ###
9 <html>
10 <body>
11 Simple TS with default: Translate.
12
13 Same TS with no default: Translate.
14
15 TS with fixed text: Fixed text.
16
17 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
18
19 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
20
21 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a >.
22
23 Entity escaping: Drag&amp;drop.
24
25 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
26 </body>
27 </html>
28 ### de/translate-html ###
29 <html>
30 <body>
31 Simple TS with default: Übersetzen.
32
33 Same TS with no default: Übersetzen.
34
35 TS with fixed text: Fester text.
36
37 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>.
38
39 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
40
41 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze ichnis</a>.
42
43 Entity escaping: Draggen&amp;droppen.
44
45 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
46 </body>
47 </html>
48 ### en/translate ###
49 <p>Simple TS with default: Translate.</p>
50 <p>Same TS with no default: Translate.</p>
51 <p>TS with fixed text: Fixed text.</p>
52 <p>Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz .com/">Baz</a>.</p>
53 <p>Link resolving: <a href="/en/translate" hreflang="en">This page</a>.</p>
54 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map </a>.</p>
55 <p>Entity escaping: Drag&amp;drop.</p>
56 <p>Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.</p>
57 ### de/filter ###
58 foo
59 ### de/translate-template ###
60 <h1>Translation strings are all in the template</h1>
61
62 Simple TS with default: Übersetzen.
63
64 Same TS with no default: doesn't work in templates.
65
66 TS with fixed text: Fester text.
67
68 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>.
69
70 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
71
72 Entity escaping: Draggen&amp;droppen.
73
74 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
75 ### de/global ###
76 METHOD TEST PASSEDFalseTrueexists
77 ### de/translate ###
78 <p>Simple TS with default: Übersetzen.</p>
79 <p>Same TS with no default: Übersetzen.</p>
80 <p>TS with fixed text: Fester text.</p>
81 <p>Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz. de/">Baz</a>.</p>
82 <p>Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.</p>
83 <p>Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenve rzeichnis</a>.</p>
84 <p>Entity escaping: Draggen&amp;droppen.</p>
85 <p>Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.</p>
86 ### de/translate-tmpl ###
87 <html>
88 <body>
89 Simple TS with default: Übersetzen.
90
91 Same TS with no default: Übersetzen.
92
93 TS with fixed text: Fester text.
94
95 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>.
96
97 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
98
99 Entity escaping: Draggen&amp;droppen.
100
101 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
102 </body>
103 </html>
104 ### de/sitemap ###
105 <h1> Unfiltered </h1>
106 <ul>
107 <li>title : includer </li>
108 <li>title : translate-template </li>
109 <li>title : sitemap </li>
110 </ul>
111
112 <h1> Filtered </h1>
113 <ul><li>title : sitemap </li>
114 </ul>
115
116 <h1> String Filter For Listy Option </h1>
117 <ul><li>title : sitemap </li>
118 </ul>
119 ### en/sitemap ###
120 <h1> Unfiltered </h1>
121 <ul>
122 <li>title : includer </li>
123 <li>title : translate-template </li>
124 <li>title : sitemap </li>
125 </ul>
126
127 <h1> Filtered </h1>
128 <ul><li>title : sitemap </li>
129 </ul>
130
131 <h1> String Filter For Listy Option </h1>
132 <ul><li>title : sitemap </li>
133 </ul>
134 ### de/translate-include ###
135 <h1>Translations from an include fragment</h1>
136 Simple TS with default: Übersetzen.
137
138 Same TS with no default: Übersetzen.
139
140 TS with fixed text: Fester text.
141
142 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>.
143
144 Link resolving: <a href="/de/translate" hreflang="de">Diese Seite</a>.
145
146 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Seitenverze ichnis</a>.
147
148 Entity escaping: Draggen&amp;droppen.
149
150 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
151 ### en/translate-tmpl ###
152 <html>
153 <body>
154 Simple TS with default: Translate.
155
156 Same TS with no default: Translate.
157
158 TS with fixed text: Fixed text.
159
160 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
161
162 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
163
164 Entity escaping: Drag&amp;drop.
165
166 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
167 </body>
168 </html>
169 ### en/translate-not-enough ###
170 <p>This page doesn't have enough translation in German so it shouldn't be genera ted.</p>
171 <ul>
172 <li>TS1 - this one has translation to German, others don't.</li>
173 <li>TS2.</li>
174 <li>TS3.</li>
175 <li>TS4.</li>
176 </ul>
177 ### de/includer ###
178 <h1>Foobar</h1>
179
180
181 <p>This is an included example</p>
182
183 Variable from included piece: bar
184 ### en/global ###
185 METHOD TEST PASSEDFalseTrueexists
186 ### en/get_page_url ###
187 global_canonical_url = https://acme.com/global
188
189 # 'filter' is default page name for the test website, so we check that the
190 # link would not include the page name itself.
191 filter_canonical_url = https://acme.com/
192 ### en/translate-template ###
193 <h1>Translation strings are all in the template</h1>
194
195 Simple TS with default: Translate.
196
197 Same TS with no default: doesn't work in templates.
198
199 TS with fixed text: Fixed text.
200
201 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
202
203 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
204
205 Entity escaping: Drag&amp;drop.
206
207 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
208 ### en/filter ###
209 foo
210 ### en/translate-include ###
211 <h1>Translations from an include fragment</h1>
212 Simple TS with default: Translate.
213
214 Same TS with no default: Translate.
215
216 TS with fixed text: Fixed text.
217
218 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
219
220 Link resolving: <a href="/en/translate" hreflang="en">This page</a>.
221
222 Link to a non-translatable page: <a href="/en/sitemap" hreflang="en">Site map</a >.
223
224 Entity escaping: Drag&amp;drop.
225
226 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
227 ### en/translate-partial ###
228 <p>This page only has half of translation in German, but enough to be generated. </p>
229 <ul>
230 <li>TS1.</li>
231 <li>TS2.</li>
232 </ul>
233 ### de/translate-partial ###
234 <p>This page only has half of translation in German, but enough to be generated. </p>
235 <ul>
236 <li>Übersetzen.</li>
237 <li>TS2.</li>
238 </ul>
239 ### de/get_page_url ###
240 global_canonical_url = https://acme.com/global
241
242 # 'filter' is default page name for the test website, so we check that the
243 # link would not include the page name itself.
244 filter_canonical_url = https://acme.com/
OLDNEW
« no previous file with comments | « tests/_regtest_outputs/test_page_outputs.test_static[None].out ('k') | tests/conftest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld